projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3341c
)
clean up some cppcheck warnings in gdb. (#594)
author
tsteven4
<13596209+tsteven4@users.noreply.github.com>
Mon, 8 Jun 2020 07:16:48 +0000
(
01:16
-0600)
committer
GitHub
<noreply@github.com>
Mon, 8 Jun 2020 07:16:48 +0000
(
01:16
-0600)
gdb.cc
patch
|
blob
|
history
diff --git
a/gdb.cc
b/gdb.cc
index fac5e66c8bb23de4085bb217549aec308fff988a..03423004270ef56e858c85d415c46b0efd6baa57 100644
(file)
--- a/
gdb.cc
+++ b/
gdb.cc
@@
-303,7
+303,7
@@
gdb_add_route_waypt(route_head* rte, Waypoint* ref, const int wpt_class)
return res;
}
-QString gdb_to_ISO8601_duration(unsigned int seconds)
+
static
QString gdb_to_ISO8601_duration(unsigned int seconds)
{
if (seconds == 0u) {
return QString("PT0S");
@@
-721,7
+721,6
@@
read_route()
}
}
- int links = 0;
int points = FREAD_i32;
#if GDB_DEBUG
@@
-764,7
+763,7
@@
read_route()
warning("\n");
}
- links = FREAD_i32;
+
int
links = FREAD_i32;
garmin_ilink_t* il_anchor = nullptr;
garmin_ilink_t* il_root = nullptr;
#if GDB_DEBUG